package com.yourenbang.lingyun.transaction.web.service.pay.withdraw.channel;

import com.alipay.api.response.AlipayDataBillBalanceQueryResponse;
import com.alipay.api.response.AlipayFundTransOrderQueryResponse;
import com.alipay.api.response.AlipayFundTransToaccountTransferResponse;
import com.alipay.api.response.AlipayFundTransUniTransferResponse;
import com.yourenbang.lingyun.transaction.web.domain.dto.pay.AliFundTransOrderQueryDTO;
import com.yourenbang.lingyun.transaction.web.domain.dto.pay.AliFundTransToaccountTransferDTO;

public interface AliWithdrawService {

    /**
     * 单笔转账到支付宝账户(废弃)
     */
    @Deprecated
    AlipayFundTransToaccountTransferResponse aliFundTransToaccountTransfer(AliFundTransToaccountTransferDTO aliFundTransToaccountTransferDTO);

    /**
     * 支付宝转账查询
     */
    AlipayFundTransOrderQueryResponse aliFundTransOrderQuery(AliFundTransOrderQueryDTO aliFundTransOrderQueryDTO);

    /**
     * 单笔转账到支付宝账户(新接口)
     */
    AlipayFundTransUniTransferResponse alipayFundTransUniTransfer(AliFundTransToaccountTransferDTO aliFundTransToaccountTransferDTO);

    /**
     * 支付宝商家账户当前余额查询
     */
    AlipayDataBillBalanceQueryResponse alipayDataBillBalanceQuery(Integer payChannelId);
}
